package com.shycloud.mido.music.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shycloud.mido.music.domain.MisRedeemMusicCollection;
import com.shycloud.mido.music.vo.RedeemVO;

public interface MisRedeemMusicCollectionService extends IService<MisRedeemMusicCollection> {

	/**
	 * 分页获取【兑换曲谱】信息
	 *
	 * @param page
	 * @param phone
	 * @param bookNumber
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.shycloud.mido.music.domain.MisRedeemMusicCollection>
	 * @author nianhua.jiang
	 * @date 2020/5/27 9:48
	 */
	IPage<RedeemVO> getRedeemMusicCollection(Page page, String phone, String bookNumber);

	/**
	 * 获取有声图书数量
	 *
	 * @param
	 * @return java.lang.Integer
	 * @author nianhua.jiang
	 * @date 2020/5/28 9:42
	 */
	Integer getBookCount();
}
